/**
 * @author: yyq
 * @date: 2025年3月12日 13:31:33
 * @description: 
 */
package com.sheepone.monitor.server.config;

import com.sheepone.monitor.config.MonitorConfig;
import com.sheepone.webdev.anno.WebdevConfigValue;

/**
 * @author: yyq
 * @date: 2025年3月12日 13:31:33
 * @description:
 */
public class MonitorServerConfig extends MonitorConfig {
    @WebdevConfigValue(key = "monitor.server.port")
    protected int port = 8080;
    @WebdevConfigValue(key = "monitor.server.bossThreads")
    protected int bossThreads = 0;
    @WebdevConfigValue(key = "monitor.server.workerThreads")
    protected int workerThreads = 0;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getBossThreads() {
        return bossThreads;
    }

    public void setBossThreads(int bossThreads) {
        this.bossThreads = bossThreads;
    }

    public int getWorkerThreads() {
        return workerThreads;
    }

    public void setWorkerThreads(int workerThreads) {
        this.workerThreads = workerThreads;
    }

}
